import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-05
 * Time: 15:51
 */
public class Test {
    public static void main(String[] args) {
/*//        数组的创建及初始化
//        动态初始化
        int[] array1 = new int[10];

        int[] array2;
        array2 = new int[10];

//        静态初始化
        int[] array3 = {1,2,3,4,5,6,7};

        int[] array4 = new int[]{1,2,3,4,5,6,7};

        int[] array5;
        array5 = new int[]{1,2,3,4,5,6,7};

//        遍历数组
        for (int i = 0; i < array4.length; i++) {
            System.out.print(array4[i] + " ");
        }
        System.out.println();

        for (int x:array1) {
            System.out.print(x + " ");
        }

        System.out.println();
        String ret = Arrays.toString(array4);
        System.out.println(ret);*/

//        Scanner输入
        Scanner sc = new Scanner(System.in);
        /*System.out.println("请输入一个整数：");
        int n = sc.nextInt();
        System.out.println(n);

        System.out.println("请输入一个浮点数：");
        double x = sc.nextDouble();
        System.out.println(x);*/

//        System.out.println("请输入一个布尔值：");
//        boolean o = sc.nextBoolean();
//        System.out.println(o);

        /*System.out.println("请输入字符串：");
        String ret = sc.nextLine();
        System.out.println(ret);*/

       /* while(sc.hasNextInt()){
            int n = sc.nextInt();
            System.out.println(n);
        }*/

        Random random = new Random();
        int round = random.nextInt(100);//[0~100)
        System.out.println(round);


    }
}
